package com.hxzy.controller.api;


import com.hxzy.common.util.CommonDateUtil;
import com.hxzy.common.vo.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "公共数据")
@RestController
@RequestMapping(value = "/api/common")
public class CommonDataController {


    @ApiOperation(value = "性别和状态数据")
    @GetMapping(value = "/data")
    public R commonData(){
        return R.success(CommonDateUtil.commonData());
    }
}
